home *** CD-ROM | disk | FTP | other *** search
- # $Id: style.uni,v 2.4 1997/04/09 21:27:28 edwin Exp $
- # Copyright (C) 1996 Verity, Inc.
- #
- # style.uni - Configuration file for the universal filter
- #
- $control: 1
- types:
- {
- #
- # This setting specifies the filters to use as the autorecognition
- # filters. There can be more than one "autorec" keyword in this file.
- # If there are multiple, they are installed in the order that they
- # are specified, with the first one being attached to the gateway
- # and the last one being attached on the other end to the universal
- # filter.
- #
- # The very first token that this list of filters produces MUST be
- # the VdkTokenType_ContentType token. If it isn't, the universal
- # filter will not work properly.
- #
- autorec: "flt_rec"
- autorec: "flt_inso -recognize"
-
-
- #
- # This list is what to do with each type of document we recognize.
- #
- type: "application/msword"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/wordperfect5.1"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/x-ms-excel"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/x-ms-powerpoint"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/x-ms-project"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/x-ms-works"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/x-ms-tnef"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- # Postscript is not supported by Inso's Mastersoft filters.
- # However, it is supported by Inso's OutsideIn filter product line.
- # If this collection is supported by Inso's OutsideIn filters and
- # postscript file support is desired, then:
- # 1) uncomment the /format-filter, /charset and /def-charset lines
- # 2) comment the /action to index postscript files.
-
- type: "application/postscript"
- /action = skip
- # /format-filter = flt_inso
- # /charset = guess
- # /def-charset = 850
-
- type: "application/rtf"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/ami-pro"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "application/pdf"
- /format-filter = "flt_pdf"
- /charset = guess
-
- type: "application/x-inso"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- # Executable programs and shared libraries on this platform.
- # Default is to skip the document.
- type: "application/x-executable"
- /action = skip
- #minimum of 6 chars for the string, to avoid the spurious stuff
- # /format-filter = "strings -n 6"
- # /charset = none
-
- type: "message/rfc822"
- /charset = guess
- /def-charset = 8859
- /content-filter = "zone -email -nocharmap"
-
- type: "message/news"
- /charset = guess
- /def-charset = 8859
- /content-filter = "zone -news -nocharmap"
-
- type: "text/html"
- /charset = guess # Guess the character set,
- /def-charset = 8859 # defaulting to 8859
- /content-filter = "zone -html -nocharmap" # HTML-specific filtering
- /content-filter = "flt_meta" # meta tag filtering
-
- type: "text/sgml"
- /charset = guess # Guess the character set,
- /content-filter = "zone -nocharmap" # SGML-specific filtering
-
- type: "text/ascii"
- /charset = 8859 # This forces a specific charset
-
- type: "text/enriched"
- /charset = guess # Guess the character set,
- /content-filter = "zone -nocharmap" # SGML-specific filtering
-
- type: "text/richtext"
- /format-filter = flt_inso
- /charset = guess
- /def-charset = 850
-
- type: "text/tab-separated-values"
- /charset = guess
-
- type: "text/plain"
- /charset = guess
-
- # Empty documents. Default is to skip the document.
- type: "text/x-empty"
- /action = skip
-
- # extracts the description field from a gif!
- type: "image/gif"
- # minimum of 10 chars for the string, to avoid the spurious stuff in
- # the picture
- /format-filter = "strings -n 10"
- /charset = none
-
- # explicitly skip any verity specific files... it would be bad to index
- # a verity index file into itself!
- type: "application/x-verity"
- /action = skip
-
- # Known mime types that we are explicitly not filtering because we don't
- # have filters for them. If you have a filter for any of these, you may
- # uncomment the line and insert the appropriate arguments.
- #
- # type: "application/octet-stream"
- # type: "application/slate"
- # type: "application/iges"
- # type: "application/fractals"
- # type: "application/x-tex"
- # type: "application/x-texinfo"
- # type: "application/x-dvi"
- # type: "application/x-latex"
- # type: "application/x-troff"
- # type: "application/x-troff-man"
- # type: "application/x-troff-ms"
- # type: "application/x-troff-me"
- # type: "application/x-cpio"
- # type: "application/x-gtar"
- # type: "application/x-tar"
- # type: "application/x-compresss"
- # type: "application/x-gzip"
- # type: "application/x-shar"
- # type: "application/x-zip-compressed"
- # type: "application/x-stuffit"
- # type: "application/mac-binhex40"
- # type: "application/STEP"
- # type: "application/dxf"
- # type: "application/vda"
- # type: "application/set"
- # type: "application/SLA"
- # type: "application/acad"
- # type: "application/solids"
- # type: "application/drafting"
- # type: "application/pro_eng"
- # type: "application/i-deas"
- # type: "application/clariscad"
- # type: "text/compressed"
- # type: "audio/basic"
- # type: "audio/x-aiff"
- # type: "audio/x-wav"
- # type: "image/ief"
- # type: "image/jpeg"
- # type: "image/tiff"
- # type: "image/x-xwindowdump"
- # type: "video/mpeg"
- # type: "video/quicktime"
- # type: "video/x-msvideo"
- # type: "video/x-sgi-movie"
-
- default:
- /action = skip
- }
- $$
-